package com.zkthink.ceres.tenant.dto;

import com.zkthink.ceres.tenant.enumeration.TenantStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "TenantStatusDTO", description = "更新商家状态的对象")
public class TenantStatusDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id列表")
    private List<Long> ids;

    @ApiModelProperty("状态")
    @NotNull(message = "状态不能为空")
    private TenantStatusEnum status;

}
